import { combineReducers } from 'redux-immutable';

import { reducer as headerReducer } from '../components/header/store/';
import { reducer as bannerReducer } from '../components/banner/store/';
import { reducer as personReducer } from '../page/person/store/';
import { reducer as homeReducer } from '../page/home/store/';
import { reducer as courseReducer } from '../page/course/store/';
import { reducer as cartReducer } from '../page/cart/store/'
import { reducer as myReducer } from '../page/myCourse/store/'
import { reducer as liveReducer } from '../page/live/store/'
import { reducer as teacherReducer } from '../page/teacher/store/'

const reducer = combineReducers({
	header: headerReducer,
	banner: bannerReducer,
	person: personReducer,
	home: homeReducer,
	course: courseReducer,
	cart: cartReducer,
	myCourse: myReducer,
	live: liveReducer,
	teacher: teacherReducer
});

export default reducer;